home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Best of MacTutor - S…e Code for Volumes 1 to 5
/
The Best of MacTutor - Source Code for Volume 1-5 (Wayzata Technology)(6031)(1990).bin
/
Source Code
/
#03 (Aug85-Sep85)
/
Pascal
/
Pascal Vol. 1 #10
/
bugged
next >
Wrap
Text File
|
1985-07-18
|
394b
|
20 lines
program Bugged;
var
r : rect;
left, top, right, bottom : integer;
icon1, icon2, width : integer;
begin
left := 10;
top := 10;
right := 40;
bottom := 40;
width := right - left + 10;
icon1 := 1;
icon2 := 257;
showdrawing;
setrect(r, left, top, right, bottom);
ploticon(r, geticon(icon1));
setrect(r, left + width, top, right + width, bottom);
ploticon(r, geticon(icon2));
end.